package com.applabs.dnd.core;

import android.util.Log;

public class DNDMsgSettings {

	private static String TAG = "DNDMsgSettings";
	
	/* DND Setting to be applied*/
	private int mDNDMsgRuleType;
	/* DND Call Reject Type*/
	private int mDNDMsgRejectType;
	/* Enable DND Linked to Calendar Events*/
	//private boolean bLinkCalendar;

	public DNDMsgSettings()
	{
		Log.d(TAG,"Ctor");
		mDNDMsgRuleType = DNDMsgRuleType.DND_DISABLED;
		mDNDMsgRejectType = DNDMsgRejectType.DND_MSG_NORMAL;
		//bLinkCalendar = false; /* Link to calendar disabled */
	}
	
	public DNDMsgSettings(int msgRuleType, int msgRejType)
	{
		Log.d(TAG,"Ctor");
		mDNDMsgRuleType = msgRuleType;
		mDNDMsgRejectType = msgRejType;
		//bLinkCalendar = false; /* Link to calendar disabled */
	}
	
	public int getDNDMsgRultype()
	{
		return mDNDMsgRuleType;
	}
	
	public int getDNDMsgRejType()
	{
		return mDNDMsgRejectType;
	}
	
	public void setDNDMsgRuletype(int ruleType)
	{
		mDNDMsgRuleType = ruleType;
	}
	
	public void setDNDMsgRejType(int rejType)
	{
		mDNDMsgRejectType = rejType;
	}
}
